package com.class05.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/11/20 19:17
 */
@NoArgsConstructor
@ToString
@AllArgsConstructor
@Data
public class Customer {
    private Integer customerId;
    private String customerName;
//    一个客户对应对个订单
//    对多：装对对方类型的集合即可
//    todo
    private List<Order> orderList;

}
